import request from '@/utils/request'

// 水源地基本信息-列表
const waterSourceInfoList = function (params = {}) {
  return request({
    url: `/zy-api/api/waterSourceMan/getWaterSourceManageList`,
    method: 'post',
    data: params,
  })
}

// 水源地基本信息-详情
const waterSourceInfoDetails = function (params = {}) {
  return request({
    url: `/zy-api/api/waterSourceMan/getWaterSourceManageId`,
    method: 'post',
    data: params,
  })
}

// 水源地基本信息-新增
const addWaterSourceInfo = function (params = {}) {
  return request({
    url: `/zy-api/api/waterSourceMan/addWaterSourceManage`,
    method: 'post',
    data: params,
  })
}

// 水源地基本信息-编辑
const editWaterSourceInfo = function (params = {}) {
  return request({
    url: `/zy-api/api/waterSourceMan/updWaterSourceManage`,
    method: 'post',
    data: params,
  })
}



export {
  waterSourceInfoList,
  waterSourceInfoDetails,
  addWaterSourceInfo,
  editWaterSourceInfo
}